home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 October: Mac OS SDK / Dev.CD Oct 97 SDK1.toast / Development Kits (Disc 1) / Interfaces&Libraries / Universal / Interfaces / AIncludes / FileTransferTools.a < prev    next >
Encoding:
Text File  |  1997-08-12  |  2.1 KB  |  86 lines  |  [TEXT/MPS ]

  1. ;
  2. ;    File:        FileTransferTools.a
  3. ;
  4. ;    Contains:    CommToolbox File Transfer Tools Interfaces.
  5. ;
  6. ;    Version:    Technology:    System 7.5
  7. ;                Release:    Universal Interfaces 3.0.1
  8. ;
  9. ;    Copyright:    © 1988-1997 by Apple Computer, Inc., all rights reserved
  10. ;
  11. ;    Bugs?:        Please include the the file and version information (from above) with
  12. ;                the problem description.  Developers belonging to one of the Apple
  13. ;                developer programs can submit bug reports to:
  14. ;
  15. ;                    devsupport@apple.com
  16. ;
  17. ;
  18.     IF &TYPE('__FILETRANSFERTOOLS__') = 'UNDEFINED' THEN
  19. __FILETRANSFERTOOLS__ SET 1
  20.  
  21.     IF &TYPE('__CONDITIONALMACROS__') = 'UNDEFINED' THEN
  22.     include 'ConditionalMacros.a'
  23.     ENDIF
  24.     IF &TYPE('__DIALOGS__') = 'UNDEFINED' THEN
  25.     include 'Dialogs.a'
  26.     ENDIF
  27.     IF &TYPE('__FILETRANSFERS__') = 'UNDEFINED' THEN
  28.     include 'FileTransfers.a'
  29.     ENDIF
  30.  
  31.  
  32.                                                             ; DEFs 
  33. fdefType                        EQU        'fdef'
  34. fsetType                        EQU        'fset'
  35. fvalType                        EQU        'fval'
  36. flocType                        EQU        'floc'
  37. fscrType                        EQU        'fscr'
  38. fbndType                        EQU        'fbnd'
  39. fverType                        EQU        'vers'
  40.  
  41.                                                             ; control 
  42. ftInitMsg                        EQU        0
  43. ftDisposeMsg                    EQU        1
  44. ftSuspendMsg                    EQU        2
  45. ftResumeMsg                        EQU        3
  46. ftMenuMsg                        EQU        4
  47. ftEventMsg                        EQU        5
  48. ftActivateMsg                    EQU        6
  49. ftDeactivateMsg                    EQU        7
  50. ftGetErrorStringMsg                EQU        8
  51. ftAbortMsg                        EQU        52
  52. ftStartMsg                        EQU        100
  53. ftExecMsg                        EQU        102
  54. ftSendMsg                        EQU        103
  55. ftReceiveMsg                    EQU        104
  56.  
  57.                                                             ; setup 
  58. ftSpreflightMsg                    EQU        0
  59. ftSsetupMsg                        EQU        1
  60. ftSitemMsg                        EQU        2
  61. ftSfilterMsg                    EQU        3
  62. ftScleanupMsg                    EQU        4
  63.  
  64.                                                             ; validate 
  65. ftValidateMsg                    EQU        0
  66. ftDefaultMsg                    EQU        1
  67.  
  68.                                                             ; scripting 
  69. ftMgetMsg                        EQU        0
  70. ftMsetMsg                        EQU        1
  71.  
  72.                                                             ; localization 
  73. ftL2English                        EQU        0
  74. ftL2Intl                        EQU        1
  75. FTSetupStruct            RECORD 0
  76. theDialog                 ds.l    1                ; offset: $0 (0)        ;  the dialog form the application 
  77. count                     ds.w    1                ; offset: $4 (4)        ;  first appended item 
  78. theConfig                 ds.l    1                ; offset: $6 (6)        ;  the config record to setup 
  79. procID                     ds.w    1                ; offset: $A (10)        ;  procID of the tool 
  80. sizeof                     EQU *                    ; size:   $C (12)
  81.                         ENDR
  82. ; typedef struct FTSetupStruct *        FTSetupPtr
  83.  
  84.     ENDIF ; __FILETRANSFERTOOLS__ 
  85.  
  86.